package com.sikao.app.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Sun on 2016/8/10.
 * 	[46]发布商品[step-2]
 */
public class AddGoodsStepTwoSubmitBean {
    /**
     * objectId : 133
     * type : goods
     * profilePic : 3,5,8
     * attrValue : [{"attrId":"3","value":"1000大卡","changePrice":"-10"},{"attrId":"3","value":"3000大卡","changePrice":"0.00"},{"attrId":"3","value":"5000大卡","changePrice":"30"}]
     */

    private String objectId;
    private String type;
    private String profilePic;
    /**
     * attrId : 3
     * value : 1000大卡
     * changePrice : -10
     */

    private List<AttrValueBean> attrValue = new ArrayList<>();

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProfilePic() {
        return profilePic;
    }

    public void setProfilePic(String profilePic) {
        this.profilePic = profilePic;
    }

    public List<AttrValueBean> getAttrValue() {
        return attrValue;
    }

    public void setAttrValue(List<AttrValueBean> attrValue) {
        this.attrValue = attrValue;
    }

    public static class AttrValueBean {
        private String attrId;
        private String value;
        private String changePrice;

        public String getAttrId() {
            return attrId;
        }

        public void setAttrId(String attrId) {
            this.attrId = attrId;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getChangePrice() {
            return changePrice;
        }

        public void setChangePrice(String changePrice) {
            this.changePrice = changePrice;
        }
    }
}
